﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="WorkFlow_WFConfigure_WFBuInterfaceEdit" Codebehind="WFBuInterfaceEdit.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>业务接口</title>
    <link href="../Styles/control.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">    
 <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" class="t1" >
          <thead><th>
              业务接口信息
          </th></thead></table>      
<table align="center"  width="100%"  border="0" cellpadding="3" cellspacing="0" class="tEdit">
<tr>
	<td class="title1">
            采用流程模板:</td>
		<td  >
            <asp:DropDownList ID="ddlJobTemplateID" runat="server" Width="90%" onchange="SetBuName();" CssClass="input2" >
            </asp:DropDownList></td>
	</tr>
	<tr>		
		<td class="title1">
            版本号:</td>
		<td ><asp:textbox id="txtDisCode" ReadOnly="true" CssClass="input2" MaxLength="50" Runat="server"  Width="90%" ></asp:textbox><asp:RequiredFieldValidator
                ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtDisCode" ErrorMessage="*"><asp:RegularExpressionValidator ID="RegularExpressionValidator1"
                    runat="server" ControlToValidate="txtDisCode" ErrorMessage="请输入数字" ValidationExpression="[1-9]\d*|0" Font-Size="Smaller"></asp:RegularExpressionValidator></asp:RequiredFieldValidator></td>
		
	</tr>
	<tr>		
		
		<td  class="title1">
            接口名称:</td>
		<td  ><asp:textbox id="txtBuName" MaxLength="50" Runat="server"   Width="90%" CssClass="input2" ></asp:textbox><asp:RequiredFieldValidator
                ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtBuName" ErrorMessage="*"></asp:RequiredFieldValidator></td>
	</tr>
</table> 

<table width="100%"  border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td> <div align="center">
    <asp:Button ID="btnOK" runat="server" Text="确定" OnClick="btnOK_Click"   class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'"  />
            
    <input type="submit" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" name="btnCancel" onclick="window.close();"    value="取 消" />
   </div></td>
  </tr>
</table>
    </form>
    <script language="javascript" type="text/javascript">
    function SetBuName(obj)
    {
        var ddl = document.getElementById("<%=ddlJobTemplateID.ClientID %>");
        var index = ddl.selectedIndex; 
        var Text = ddl.options[index].text;
        document.getElementById("<%=txtBuName.ClientID %>").value=Text;
    }
    </script>
</body>
</html>
